package com.qf.pojo;

import lombok.Data;

import java.util.Date;

@Data
public class House {
    private Integer id;

    private Integer communityId;

    private String houseNumber;

    private String ownerId;

    private Date livetime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber == null ? null : houseNumber.trim();
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId == null ? null : ownerId.trim();
    }

    public Date getLivetime() {
        return livetime;
    }

    public void setLivetime(Date livetime) {
        this.livetime = livetime;
    }
}